-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: add IconExtWindows::from_resource_name
#4137
Conversation
Do we really need this, given that other API can be used as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should instead change from_resource
to take a string instead of the ordinal ID?
Since there's this resource pointer conversion thing, it would be nice to have both
|
Ah, makes sense. Mind documenting this too? And e.g. link to https://learn.microsoft.com/en-us/windows/win32/menurc/icon-resource ? |
Yes, good thinking. |
a2ad299
to
45c78a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is perfect
Adds a new method,
IconExtWindows::from_resource_name
, on Windows. Works pretty much the same asIconExtWindows::from_resource
.changelog
module if knowledge of this change could be valuable to users